import request from '@/utils/request'

// 查询兼容站台管理列表
export function listStation(query) {
  return request({
    url: '/business/compatible-station/list',
    method: 'get',
    params: query
  })
}

//创建bug时查找所有的站台数据
export function listAllStation() {
  return request({
    url:'/business/compatible-station/listTwo',
    method: 'get',
  })
}

// 查询兼容站台管理详细
export function getStation(id) {
  return request({
    url: '/business/compatible-station/query/' + id,
    method: 'get'
  })
}

// 新增兼容站台管理
export function addStation(data) {
  return request({
    url: '/business/compatible-station/add',
    method: 'post',
    data: data
  })
}

// 修改兼容站台管理
export function updateStation(data) {
  return request({
    url: '/business/compatible-station/update',
    method: 'post',
    data: data
  })
}

// 删除兼容站台管理
export function delStation(id) {
  return request({
    url: '/business/compatible-station/delete/' + id,
    method: 'get'
  })
}
